Skip to content

Commit

Permalink
Merge pull request #8 from Diesel-Net/development
Browse files Browse the repository at this point in the history
Promotion
  • Loading branch information
tomdaley92 authored Aug 2, 2021
2 parents 28d0acf + 6c9a7f0 commit a20fc20
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .ansible/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[defaults]

stdout_callback = debug
host_key_checking = True
retry_files_enabled = False

# Fixes ansible variable precedence issue: Makes inventory group_vars override playbook group_vars
# https://github.com/ansible/ansible/issues/18154
precedence = all_plugins_play, all_inventory, all_plugins_inventory, groups_plugins_play, groups_inventory, groups_plugins_inventory
4 changes: 2 additions & 2 deletions .ansible/roles/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- name: common
scm: git
src: "git@github.com:Diesel-Net/ansible-role-common.git"
version: 1.0.0
version: 1.1.0

- name: docker
scm: git
src: "git@github.com:Diesel-Net/ansible-role-docker.git"
version: 1.2.1
version: 1.3.0
5 changes: 3 additions & 2 deletions .drone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ steps:
ANSIBLE_CONFIG: .ansible/ansible.cfg
settings:
galaxy: .ansible/roles/requirements.yaml
inventory: .ansible/inventories/production/hosts
inventory: .ansible/inventories/production
playbook: .ansible/deploy.yaml
private_key:
from_secret: ansible_private_key
from_secret: automation_id_rsa
vault_password:
from_secret: ansible_vault_password
extra_vars: version=production

trigger:
branch:
Expand Down

0 comments on commit a20fc20

Please sign in to comment.