mirror of
https://github.com/krislamo/pup-tests
synced 2025-09-07 15:29:29 +00:00
WordPress Installs
Sets up a very basic WordPress website on the puppet agent.
This commit is contained in:
@@ -22,5 +22,4 @@
|
||||
register: send_csr
|
||||
failed_when: send_csr.rc > 1
|
||||
when: agent_install.changed
|
||||
become_user: vagrant
|
||||
|
||||
|
@@ -10,6 +10,16 @@
|
||||
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
|
||||
|
||||
- name: Wait for Webserver Key
|
||||
wait_for:
|
||||
path: /var/lib/puppet/ssl/ca/requests/webserver.pem
|
||||
|
Reference in New Issue
Block a user