diff --git a/README.md b/README.md index e8f239c..900461d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ -# client-playbook -Playbook to setup clients +# Client Playbook +Playbook to setup Manjaro GNOME clients. +# Todo +- Add Template folder +# See +- https://www.middlewareinventory.com/blog/run-ansible-playbook-locally/ +- https://stackoverflow.com/questions/30533372/run-an-ansible-task-only-when-the-hostname-contains-a-string diff --git a/playbook.yml b/playbook.yml new file mode 100644 index 0000000..93f6700 --- /dev/null +++ b/playbook.yml @@ -0,0 +1,5 @@ +- name: general host setup + hosts: all + become: true + roles: + - native-pacman-update diff --git a/roles/native-pacman-update/tasks/main.yml b/roles/native-pacman-update/tasks/main.yml new file mode 100644 index 0000000..f7285d6 --- /dev/null +++ b/roles/native-pacman-update/tasks/main.yml @@ -0,0 +1,4 @@ +- name: update pacman + pacman: + update_cache: yes + upgrade: yes