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