diff options
author | Thomas Wiest <twiest@redhat.com> | 2015-02-04 11:47:00 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@redhat.com> | 2015-02-05 15:53:32 -0500 |
commit | 7c1c02f3cc202acbc662f52fbc9a17911b044f24 (patch) | |
tree | 42cfe00df40943e902d2a4e73274db308b57c5b5 /roles/atomic_base/tasks | |
parent | 076434d7a1026540f0eee5479adddc895d73b9b0 (diff) | |
download | openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.gz openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.bz2 openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.xz openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.zip |
removed the usage of yaml '>' for multiline entries and replaced them with yaml dictionaries as demonstrated by the ansible documentation.
Diffstat (limited to 'roles/atomic_base/tasks')
-rw-r--r-- | roles/atomic_base/tasks/bash.yml | 13 | ||||
-rw-r--r-- | roles/atomic_base/tasks/ostree.yml | 18 |
2 files changed, 16 insertions, 15 deletions
diff --git a/roles/atomic_base/tasks/bash.yml b/roles/atomic_base/tasks/bash.yml index 6e577971a..547ae83c3 100644 --- a/roles/atomic_base/tasks/bash.yml +++ b/roles/atomic_base/tasks/bash.yml @@ -5,9 +5,10 @@ - name: Link to .profile to .bashrc file: src=/root/.bashrc dest=/root/.profile owner=root group=root state=link -- name: Setup Timezone [{{ oo_timezone }}] - file: > - src=/usr/share/zoneinfo/{{ oo_timezone }} - dest=/etc/localtime - owner=root - group=root state=link +- name: "Setup Timezone [{{ oo_timezone }}]" + file: + src: "/usr/share/zoneinfo/{{ oo_timezone }}" + dest: /etc/localtime + owner: root + group: root + state: link diff --git a/roles/atomic_base/tasks/ostree.yml b/roles/atomic_base/tasks/ostree.yml index b9d366f1b..aacaa5efd 100644 --- a/roles/atomic_base/tasks/ostree.yml +++ b/roles/atomic_base/tasks/ostree.yml @@ -1,18 +1,18 @@ --- - name: Copy ostree repo config - copy: > - src=ostree/repo_config - dest=/ostree/repo/config - owner=root - group=root - mode=0644 + copy: + src: ostree/repo_config + dest: /ostree/repo/config + owner: root + group: root + mode: 0644 - name: "WORK AROUND: Stat redhat repo file" stat: path=/etc/yum.repos.d/redhat.repo register: redhat_repo - name: "WORK AROUND: subscription manager failures" - file: > - path=/etc/yum.repos.d/redhat.repo - state=touch + file: + path: /etc/yum.repos.d/redhat.repo + state: touch when: redhat_repo.stat.exists == False |