1
0
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:
2019-01-16 14:40:35 -05:00
parent 7f818e3c31
commit e5a0d84b20
7 changed files with 147 additions and 3 deletions

View File

@@ -22,5 +22,4 @@
register: send_csr
failed_when: send_csr.rc > 1
when: agent_install.changed
become_user: vagrant

View File

@@ -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