0.1.26-DEV-20201204-171941
-------------------------- * MODIFY: - spacewalk.thezengarden.net -> rhel.thezengarden.net - ansible.cfg is now inline with our current network standards - .gitlab-ci.yml updated for better syntax
This commit is contained in:
parent
8e7d079eb2
commit
890cc38f20
@ -28,21 +28,15 @@ stages:
|
|||||||
|
|
||||||
|
|
||||||
### BEGIN TEMPLATES ###
|
### BEGIN TEMPLATES ###
|
||||||
.tags_template: &tags_template
|
.centos_header_template: ¢os_header
|
||||||
tags:
|
tags:
|
||||||
- zen-ci
|
- zen-ci
|
||||||
|
only:
|
||||||
|
- master
|
||||||
.header_template: &header
|
|
||||||
variables:
|
|
||||||
DOCKER_IMG_TAG: "7.8.2003"
|
|
||||||
|
|
||||||
|
|
||||||
.check_versions_template: &check_vers
|
.check_versions_template: &check_vers
|
||||||
<<: *tags_template
|
|
||||||
stage: check_and_lint
|
stage: check_and_lint
|
||||||
only:
|
|
||||||
- master
|
|
||||||
script:
|
script:
|
||||||
- /usr/bin/hostname
|
- /usr/bin/hostname
|
||||||
- "cd ${CI_PROJECT_DIR} && git log -1"
|
- "cd ${CI_PROJECT_DIR} && git log -1"
|
||||||
@ -51,20 +45,14 @@ stages:
|
|||||||
|
|
||||||
|
|
||||||
.lint_play_template: &lint_play
|
.lint_play_template: &lint_play
|
||||||
<<: *tags_template
|
|
||||||
stage: check_and_lint
|
stage: check_and_lint
|
||||||
only:
|
|
||||||
- master
|
|
||||||
script:
|
script:
|
||||||
- chmod 755 ${ANSIBLE_PLAY_PATH}
|
- chmod 755 ${ANSIBLE_PLAY_PATH}
|
||||||
- ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml
|
- ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml
|
||||||
|
|
||||||
|
|
||||||
.test_deploy_template: &test_deploy
|
.test_deploy_template: &test_deploy
|
||||||
<<: *tags_template
|
|
||||||
stage: test_deploy
|
stage: test_deploy
|
||||||
only:
|
|
||||||
- master
|
|
||||||
script:
|
script:
|
||||||
- chmod 755 ${ANSIBLE_PLAY_PATH}
|
- chmod 755 ${ANSIBLE_PLAY_PATH}
|
||||||
- pwd
|
- pwd
|
||||||
@ -76,17 +64,17 @@ stages:
|
|||||||
|
|
||||||
|
|
||||||
### BEGIN JOBS ###
|
### BEGIN JOBS ###
|
||||||
Version Checks:
|
Version Checks - CentOS:
|
||||||
<<: *header
|
<<: *centos_header
|
||||||
<<: *check_vers
|
<<: *check_vers
|
||||||
|
|
||||||
|
|
||||||
Lint Play:
|
Lint Play - CentOS:
|
||||||
<<: *header
|
<<: *centos_header
|
||||||
<<: *lint_play
|
<<: *lint_play
|
||||||
|
|
||||||
|
|
||||||
Test Deploy:
|
Test Deploy - CentOS:
|
||||||
<<: *header
|
<<: *centos_header
|
||||||
<<: *test_deploy
|
<<: *test_deploy
|
||||||
### END JOBS ###
|
### END JOBS ###
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = /home/chris/git/ansible/inventory/hosts
|
inventory = /etc/ansible/hosts
|
||||||
roles_path = /etc/ansible/roles
|
roles_path = /etc/ansible/roles
|
||||||
remote_tmp = /tmp/.ansible-${USER}/tmp
|
remote_tmp = /tmp/.ansible-${USER}/tmp
|
||||||
gathering = smart
|
gathering = smart
|
||||||
gather_timeout = 30
|
gather_timeout = 30
|
||||||
|
fact_path = /etc/ansible/facts.d
|
||||||
fact_caching = jsonfile
|
fact_caching = jsonfile
|
||||||
fact_caching_connection = facts.d
|
fact_caching_connection = /etc/ansible/facts.d
|
||||||
fact_caching_timeout = 1800
|
fact_caching_timeout = 1800
|
||||||
retry_files_enabled = False
|
retry_files_enabled = False
|
||||||
forks = 8
|
forks = 15
|
||||||
timeout = 30
|
timeout = 30
|
||||||
host_key_checking = False
|
host_key_checking = False
|
||||||
display_skipped_hosts = False
|
display_skipped_hosts = False
|
||||||
# ansible_python_interpreter=/usr/bin/python3
|
|
||||||
interpreter_python = auto_silent
|
interpreter_python = auto_silent
|
||||||
|
# ansible_python_interpreter=/usr/bin/python3
|
||||||
|
|
||||||
|
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
|
@ -108,8 +108,8 @@
|
|||||||
mac_address: "20:d1:60:ec:44:07"
|
mac_address: "20:d1:60:ec:44:07"
|
||||||
ip_address : "10.1.1.218"
|
ip_address : "10.1.1.218"
|
||||||
|
|
||||||
spacewalk:
|
rhel:
|
||||||
mac_address: "A6:74:37:B9:54:EF"
|
mac_address: "16:8D:09:6D:AD:89"
|
||||||
ip_address : "10.1.1.130"
|
ip_address : "10.1.1.130"
|
||||||
|
|
||||||
er4:
|
er4:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user