diff --git a/tasks/configure.yml b/tasks/configure.yml index dcb9230..dd86d02 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -115,4 +115,12 @@ state: absent - name: Deploy environment - shell: r10k deploy environment -p --config /etc/puppetlabs/r10k/r10k.yaml \ No newline at end of file + shell: r10k deploy environment -p --config /etc/puppetlabs/r10k/r10k.yaml + args: + creates: /etc/puppetlabs/code/environments/master/README.md + +- name: Link master with production environment + file: + path: /etc/puppetlabs/code/environments/production + target: /etc/puppetlabs/code/environments/master + state: link \ No newline at end of file