From a70513f77a9d65f6c89b5b626fcf3f2e8444c85e Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 17 Oct 2022 14:39:34 +0300 Subject: [PATCH] Add link to production --- tasks/configure.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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