diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-08-19 17:53:09 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-08-19 17:53:09 -0400 |
commit | caa042dd0bd8fd9a76392bd9c7949461d5c70c31 (patch) | |
tree | 5c367eba733fcdfa7a840ecc426d8be4c43cbc50 | |
parent | 95654ac10063f5779f051018088ed13f7d460bd0 (diff) | |
parent | 0dc89f3583a5e88e1ca66780e974bc9520910410 (diff) | |
download | openshift-caa042dd0bd8fd9a76392bd9c7949461d5c70c31.tar.gz openshift-caa042dd0bd8fd9a76392bd9c7949461d5c70c31.tar.bz2 openshift-caa042dd0bd8fd9a76392bd9c7949461d5c70c31.tar.xz openshift-caa042dd0bd8fd9a76392bd9c7949461d5c70c31.zip |
Merge pull request #495 from kwoodson/pvfix1
tagging pv
-rw-r--r-- | playbooks/adhoc/create_pv/create_pv.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/adhoc/create_pv/create_pv.yaml b/playbooks/adhoc/create_pv/create_pv.yaml index 591b1d902..4f0ef7a75 100644 --- a/playbooks/adhoc/create_pv/create_pv.yaml +++ b/playbooks/adhoc/create_pv/create_pv.yaml @@ -50,6 +50,16 @@ - debug: var=vol + - name: tag the vol with a name + ec2_tag: region={{ hostvars[oo_name]['ec2_region'] }} resource={{vol.volume_id}} + args: + tags: + Name: "pv-{{ hostvars[oo_name]['ec2_tag_Name'] }}" + env: "{{cli_environment}}" + register: voltags + + - debug: var=voltags + - name: Configure the drive gather_facts: no hosts: oo_master |