Compare commits

...

10 Commits

Author SHA1 Message Date
9a3210e26e updates for ansible-lint cleanup; repo origin update 2024-09-04 17:11:39 -04:00
86f41f09df 0.1.5-DEV-20220108-065211
-------------------------
    * MODIFY:
      - ansible.cfg changes
2022-01-08 06:52:22 -05:00
30cde13cb9 0.1.4-DEV-20210416-212810
-------------------------
    * MODIFY:
      - ansible.cfg changes
2021-04-16 21:28:27 -04:00
922bd3cf86 0.1.3-DEV-20210121-105107
-------------------------
    * MODIFY:
      - hosts change reverse_proxys -> all
      - .gitlab-ci.yml - runner change
2021-01-21 10:52:33 -05:00
aa82631b8a 0.1.2-DEV-20200821-141012
-------------------------
    * MODIFY:
      - update fact_caching_connection in ansible.cfg
2020-08-21 14:10:36 -04:00
af5424d264 0.1.1-DEV-20200515-145959
-------------------------
    * MODIFY:
      - ansible.cfg is now new and improved! yay!
2020-05-15 15:00:18 -04:00
bddea455c6 0.1.0-DEV-20200505-093411
-------------------------
    * MODIFY:
      - hosts all -> reverse_proxys
      - inventory reference in ansible.cfg now points to our production inventory
2020-05-05 09:35:21 -04:00
76e9da039e 0.1.0-DEV-20200416-120457
-------------------------
    * MODIFY:
      - modified ansible.cfg to be more in line with our needs
2020-04-16 12:05:42 -04:00
f3ba2f526b 0.1.0-DEV-20200321-001717
-------------------------
    * REMOVE:
      - removed manual cloning of ssl certs - ansible role is maanging ssl cert deployment

    * ADD:
      - added support for concurrent job running for check versions and lint play/role
2020-03-21 00:18:13 -04:00
3d8fab2d2c 0.1.0-DEV-20200321-001126
-------------------------
    * MODIFY:
      - modified ansible.cfg to be inline with our current standards
2020-03-21 00:12:12 -04:00
3 changed files with 30 additions and 22 deletions

View File

@ -20,15 +20,14 @@ variables:
stages:
- check_versions
- lint_playbook
- check_and_lint
- test_deploy
### BEGIN TEMPLATES ###
.tags_template: &tags_template
tags:
- zen-ci-deb-workstation
- zen-ci-deb
.zen_ci_deb_template: &zen_ci_deb_template
@ -38,7 +37,7 @@ stages:
.check_version_template: &check_version_template
<<: *tags_template
stage: check_versions
stage: check_and_lint
script:
- /bin/hostname
- chmod 755 ${ANSIBLE_PLAY_PATH}
@ -49,7 +48,7 @@ stages:
.lint_playbook_template: &lint_playbook_template
<<: *tags_template
stage: lint_playbook
stage: check_and_lint
script:
- chmod 755 ${ANSIBLE_PLAY_PATH}
- ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml
@ -64,7 +63,6 @@ stages:
- ls -ltr
- ansible-galaxy install -r roles/requirements.yml
- ansible-playbook -v -i '127.0.0.1,' --connection=local ${ANSIBLE_EXTRA_VARS} ${ANSIBLE_PLAY}
- git clone git@gitlab.thezengarden.net:zen/le-ssl-certs.git /etc/nginx/ssl
- /bin/ls -l /etc/nginx/conf.d
- /bin/ls -l /etc/nginx/ssl/*
- /usr/sbin/nginx -c /etc/nginx/nginx.conf -t

View File

@ -1,13 +1,23 @@
[defaults]
inventory = inventory/hosts
# roles_path = roles/
remote_tmp = /tmp/.ansible-${USER}/tmp
gathering = smart
gather_timeout = 30
fact_caching = jsonfile
fact_caching_connection = facts.d
fact_caching_timeout = 600
retry_files_enabled = False
forks = 8
timeout = 30
host_key_checking = False
inventory = /home/chris/Development/Ansible/Inventory/ZENventory/zen_inventory.yml
roles_path = /home/chris/Development/Ansible/Roles
remote_tmp = /tmp/.ansible-${USER}/tmp
gathering = smart
gather_timeout = 30
fact_path = /home/chris/Development/Ansible
fact_caching_connection = /home/chris/Development/Ansible
fact_caching = jsonfile
fact_caching_timeout = 1800
retry_files_enabled = False
forks = 15
timeout = 30
host_key_checking = False
display_skipped_hosts = False
interpreter_python = auto_silent
bin_ansible_callbacks = true
callback_enabled = yaml, timer, profile_tasks, profile_roles
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey

View File

@ -1,8 +1,8 @@
---
- hosts: all
become: yes
gather_facts: yes
- name: Deploy reverse proxy configuration
hosts: all
become: true
gather_facts: true
roles:
- role: zen_rev_proxy