summaryrefslogtreecommitdiffstats
path: root/roles/atomic_base/tasks/ostree.yml
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-02-04 11:47:00 -0500
committerThomas Wiest <twiest@redhat.com>2015-02-05 15:53:32 -0500
commit7c1c02f3cc202acbc662f52fbc9a17911b044f24 (patch)
tree42cfe00df40943e902d2a4e73274db308b57c5b5 /roles/atomic_base/tasks/ostree.yml
parent076434d7a1026540f0eee5479adddc895d73b9b0 (diff)
downloadopenshift-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/ostree.yml')
-rw-r--r--roles/atomic_base/tasks/ostree.yml18
1 files changed, 9 insertions, 9 deletions
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