mirror of
https://github.com/krislamo/pup-tests
synced 2024-11-12 17:50:35 +00:00
Kris Lamoureux
03bacd745b
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.
23 lines
485 B
YAML
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
|
|
|