add some tags
This commit is contained in:
parent
3cab6a7939
commit
c3bf8f3fed
1 changed files with 15 additions and 2 deletions
|
@ -8,30 +8,43 @@
|
||||||
- ansible
|
- ansible
|
||||||
- git
|
- git
|
||||||
- pyOpenSSL
|
- pyOpenSSL
|
||||||
|
tags:
|
||||||
|
- ansible-ansible-openshift-ansible
|
||||||
|
- ansible-ansible-openshift-ansible-config
|
||||||
|
|
||||||
- name: git clone the openshift-ansible repo
|
- name: git clone the openshift-ansible repo
|
||||||
git:
|
git:
|
||||||
repo: "https://github.com/openshift/openshift-ansible.git"
|
repo: "https://github.com/openshift/openshift-ansible.git"
|
||||||
dest: "{{ openshift_ansible_path }}"
|
dest: "{{ openshift_ansible_path }}"
|
||||||
version: "{{ openshift_ansible_version }}"
|
version: "{{ openshift_ansible_version }}"
|
||||||
|
tags:
|
||||||
|
- ansible-ansible-openshift-ansible
|
||||||
|
- ansible-ansible-openshift-ansible-config
|
||||||
|
|
||||||
- name: generate the inventory file
|
- name: generate the inventory file
|
||||||
template:
|
template:
|
||||||
src: "cluster-inventory.j2"
|
src: "cluster-inventory.j2"
|
||||||
dest: "{{ openshift_ansible_path }}/{{ cluster_inventory_filename }}"
|
dest: "{{ openshift_ansible_path }}/{{ cluster_inventory_filename }}"
|
||||||
|
tags:
|
||||||
|
- ansible-ansible-openshift-ansible
|
||||||
|
- ansible-ansible-openshift-ansible-config
|
||||||
|
|
||||||
- name: run ansible
|
- name: run ansible
|
||||||
shell: "ansible-playbook {{ openshift_ansible_playbook }} -i {{ cluster_inventory_filename }}"
|
shell: "ansible-playbook {{ openshift_ansible_playbook }} -i {{ cluster_inventory_filename }}"
|
||||||
args:
|
args:
|
||||||
chdir: "{{ openshift_ansible_path }}"
|
chdir: "{{ openshift_ansible_path }}"
|
||||||
register: run_ansible_out
|
register: run_ansible_out
|
||||||
|
tags:
|
||||||
|
- ansible-ansible-openshift-ansible
|
||||||
|
|
||||||
- name: display run ansible stdout_lines
|
- name: display run ansible stdout_lines
|
||||||
debug:
|
debug:
|
||||||
var: run_ansible_out.stdout_lines
|
var: run_ansible_out.stdout_lines
|
||||||
|
tags:
|
||||||
|
- ansible-ansible-openshift-ansible
|
||||||
|
|
||||||
- name: display run ansible stderr
|
- name: display run ansible stderr
|
||||||
debug:
|
debug:
|
||||||
var: run_ansible_out.stderr
|
var: run_ansible_out.stderr
|
||||||
|
tags:
|
||||||
|
- ansible-ansible-openshift-ansible
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue