removing mindpoint and reving to awx.awx

This commit is contained in:
sean cavanaugh
2021-05-12 09:45:28 -04:00
parent b7aaddd514
commit a7ce4b4985
7 changed files with 23 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
--- ---
- name: add azure credential - name: add azure credential
tower_credential: awx.awx.tower_credential:
name: azure_credential name: azure_credential
description: Azure Service Principle description: Azure Service Principle
organization: "Default" organization: "Default"

View File

@@ -1,6 +1,6 @@
--- ---
- name: add tower project - name: add tower project
tower_project: awx.awx.tower_project:
name: "{{ vars[demo].project.name }}" name: "{{ vars[demo].project.name }}"
description: "{{ vars[demo].project.description }}" description: "{{ vars[demo].project.description }}"
organization: "{{ vars[demo].project.organization }}" organization: "{{ vars[demo].project.organization }}"
@@ -11,8 +11,22 @@
tower_host: "{{ my_tower_host }}" tower_host: "{{ my_tower_host }}"
validate_certs: false validate_certs: false
- name: show values
debug:
msg:
- "name: {{ vars[demo].name }}"
- "description: {{ vars[demo].description }}"
- "job_type: {{ vars[demo].job_type }}"
- "inventory: {{ vars[demo].inventory }}"
- "project: {{ vars[demo].project.name }}"
- "playbook: {{ vars[demo].playbook }}"
- "fact_caching_enabled: {{ vars[demo].fact_caching_enabled | default('false') }}"
- "credential: {{ vars[demo].credential }}"
- "survey_enabled: {{ vars[demo].survey_enabled | default('false') }}"
- name: add single job template without survey - name: add single job template without survey
tower_job_template: awx.awx.tower_job_template:
name: "{{ vars[demo].name }}" name: "{{ vars[demo].name }}"
description: "{{ vars[demo].description }}" description: "{{ vars[demo].description }}"
job_type: "{{ vars[demo].job_type }}" job_type: "{{ vars[demo].job_type }}"
@@ -34,7 +48,7 @@
retries: 5 retries: 5
- name: add single job template with survey - name: add single job template with survey
tower_job_template: awx.awx.tower_job_template:
name: "{{ vars[demo].name }}" name: "{{ vars[demo].name }}"
description: "{{ vars[demo].description }}" description: "{{ vars[demo].description }}"
job_type: "{{ vars[demo].job_type }}" job_type: "{{ vars[demo].job_type }}"

View File

@@ -20,7 +20,7 @@
- workshop_type in item.value.workshop_type - workshop_type in item.value.workshop_type
- name: "add job template {{ item.value.name }} without survey job_template_loop.yml" - name: "add job template {{ item.value.name }} without survey job_template_loop.yml"
tower_job_template: awx.awx.tower_job_template:
name: "{{ item.value.name }}" name: "{{ item.value.name }}"
description: "{{ item.value.description }}" description: "{{ item.value.description }}"
job_type: "{{ item.value.job_type }}" job_type: "{{ item.value.job_type }}"
@@ -42,7 +42,7 @@
retries: 5 retries: 5
- name: "add job template {{ item.value.name }} with survey" - name: "add job template {{ item.value.name }} with survey"
tower_job_template: awx.awx.tower_job_template:
name: "{{ item.value.name }}" name: "{{ item.value.name }}"
description: "{{ item.value.description }}" description: "{{ item.value.description }}"
job_type: "{{ item.value.job_type }}" job_type: "{{ item.value.job_type }}"

View File

@@ -3,7 +3,7 @@
msg: "there is no public cloud credentials for this install, installing dummy creds" msg: "there is no public cloud credentials for this install, installing dummy creds"
- name: add azure credential - name: add azure credential
tower_credential: awx.awx.tower_credential:
name: azure_credential name: azure_credential
description: Azure Service Principle description: Azure Service Principle
organization: "Default" organization: "Default"

View File

@@ -6,7 +6,7 @@
loop: "{{ hostvars[inventory_hostname][demo].job_templates|dict2items }}" loop: "{{ hostvars[inventory_hostname][demo].job_templates|dict2items }}"
- name: "install workflow template {{ hostvars[inventory_hostname][demo].name }}" - name: "install workflow template {{ hostvars[inventory_hostname][demo].name }}"
tower_workflow_template: awx.awx.tower_workflow_template:
name: "{{ hostvars[inventory_hostname][demo].name }}" name: "{{ hostvars[inventory_hostname][demo].name }}"
description: "{{ hostvars[inventory_hostname][demo].description }}" description: "{{ hostvars[inventory_hostname][demo].description }}"
organization: "{{ hostvars[inventory_hostname][demo].organization }}" organization: "{{ hostvars[inventory_hostname][demo].organization }}"

View File

@@ -4,7 +4,7 @@
loop: "{{ item.value.job_templates|dict2items }}" loop: "{{ item.value.job_templates|dict2items }}"
- name: "INSIDE LOOP - install workflow template {{ item.value.name }}" - name: "INSIDE LOOP - install workflow template {{ item.value.name }}"
tower_workflow_template: awx.awx.tower_workflow_template:
name: "{{ item.value.name }}" name: "{{ item.value.name }}"
description: "{{ item.value.description }}" description: "{{ item.value.description }}"
organization: "{{ item.value.organization }}" organization: "{{ item.value.organization }}"

View File

@@ -1,6 +1,5 @@
--- ---
- src: dev-sec.ssh-hardening - src: dev-sec.ssh-hardening
- src: mindpointgroup.rhel7-cis
- src: redhatofficial.rhel8_pci_dss - src: redhatofficial.rhel8_pci_dss
- src: linux-system-roles.firewall - src: linux-system-roles.firewall
- src: linux-system-roles.timesync - src: linux-system-roles.timesync