1
0
mirror of https://github.com/krislamo/pup-tests synced 2024-11-13 02:00:34 +00:00
pup-tests/setup/roles/server/tasks/main.yml
Kris Lamoureux 03bacd745b
Modified to work with VirtualBox
Development moved to VirtualBox due to work's custom vagrant box
only supporting the VirtualBox provider. Development may eventually
end up back on libvirt. Version numbers were updated, some broken
code was removed and more instructions were added on the readme.
2019-02-07 13:26:23 -05:00

23 lines
485 B
YAML

- name: Install Puppet Master
apt: name=puppetmaster state=present
register: pup_install
- name: Install NTP
apt: name=ntp state=present
register: ntp_status
- name: Restart NTP
service: name=ntp state=restarted
when: ntp_status.changed
- name: Install R10K
apt: name=r10k state=present
register: r10k_install
- name: Install Puppet Modules
shell:
cmd: r10k puppetfile install
chdir: /etc/puppet/code/environments/production
when: r10k_install.changed