diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-04-27 11:04:34 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-04-27 11:04:34 -0400 |
commit | a2f2c884e7aeade992c574ad16954e9fbc665b99 (patch) | |
tree | cbdcb36f86c1c461e0d28c5e64aae0b9184bd8d4 /playbooks/aws/openshift-cluster/templates | |
parent | 207b5aea8d619acb9622a351f54301c24598b08d (diff) | |
download | openshift-a2f2c884e7aeade992c574ad16954e9fbc665b99.tar.gz openshift-a2f2c884e7aeade992c574ad16954e9fbc665b99.tar.bz2 openshift-a2f2c884e7aeade992c574ad16954e9fbc665b99.tar.xz openshift-a2f2c884e7aeade992c574ad16954e9fbc665b99.zip |
Replace sudo with become when accessing deployment_vars.
Diffstat (limited to 'playbooks/aws/openshift-cluster/templates')
-rw-r--r-- | playbooks/aws/openshift-cluster/templates/user_data.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/templates/user_data.j2 b/playbooks/aws/openshift-cluster/templates/user_data.j2 index 3621a7d7d..4b8554c87 100644 --- a/playbooks/aws/openshift-cluster/templates/user_data.j2 +++ b/playbooks/aws/openshift-cluster/templates/user_data.j2 @@ -44,7 +44,7 @@ runcmd: - xfs_growfs /var {% endif %} -{% if deployment_vars[deployment_type].sudo %} +{% if deployment_vars[deployment_type].become %} - path: /etc/sudoers.d/99-{{ deployment_vars[deployment_type].ssh_user }}-cloud-init-requiretty permissions: 440 content: | |