diff --git a/inventories/testing b/inventories/testing new file mode 100644 index 0000000..9bc0261 --- /dev/null +++ b/inventories/testing @@ -0,0 +1,2 @@ +[puppet-masters] +puppet-master-testing ansible_host=192.168.100.200 diff --git a/playbooks/bootstrap.yml b/playbooks/bootstrap.yml new file mode 100644 index 0000000..9ff43e6 --- /dev/null +++ b/playbooks/bootstrap.yml @@ -0,0 +1,5 @@ +--- +- hosts: all + remote_user: root + roles: + - basepackages diff --git a/playbooks/roles/basepackages/tasks/main.yml b/playbooks/roles/basepackages/tasks/main.yml new file mode 100644 index 0000000..53060ad --- /dev/null +++ b/playbooks/roles/basepackages/tasks/main.yml @@ -0,0 +1,14 @@ +--- +- name: Make sure base packages are installed + apt: + state: latest + install_recommends: no + update_cache: yes + pkg: + - tmux + - sysstat + - ntpdate + - ntp + - htop + - ca-certificates + - rsync