diff --git a/README.md b/README.md index e8f239cd..900461d2 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 00000000..93f67008 --- /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 00000000..f7285d6f --- /dev/null +++ b/roles/native-pacman-update/tasks/main.yml @@ -0,0 +1,4 @@ +- name: update pacman + pacman: + update_cache: yes + upgrade: yes