We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit bdd7097Copy full SHA for bdd7097
README.md
@@ -0,0 +1,9 @@
1
+# Setup
2
+Setting up Ubuntu on WSL2 with ansible
3
+
4
+## Quick Start
5
6
+```
7
+sudo sh bootstrap.sh
8
+ansible-playbook -K playbook.yaml
9
+``
ansible.cfg
@@ -0,0 +1,4 @@
+[defaults]
+retry_files_enabled = False
+inventory = hosts
+ask_become_pass = True
bootstrap.sh
+apt update
+apt upgrade -y
+apt install ansible aptitude -y
hosts
@@ -0,0 +1 @@
+wsl ansible_connection=local
playbook.yaml
@@ -0,0 +1,12 @@
+- name: Update and Install packages
+ hosts: wsl
+ become: true
+ tasks:
+ - name: update package list
+ package:
+ update_cache: yes
+ - name: upgrade all packages
10
11
+ name: "*"
12
+ state: latest
0 commit comments