Skip to content

Commit 9e8cff6

Browse files
Merge pull request #1574 from unfetter-discover/rc-0.3.11
RC 0.3.11 into master
2 parents d72cb34 + 38543be commit 9e8cff6

File tree

87 files changed

+131513
-484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+131513
-484
lines changed

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sudo: true
2+
language: python
3+
cache: pip
4+
python:
5+
- "3.6"
6+
7+
before_install:
8+
- sudo apt-get update
9+
- sudo apt-get install -y swig
10+
- sudo apt-get install -y libpulse-dev
11+
install:
12+
- 'cd ansible'
13+
- 'pip install pipenv'
14+
- 'pipenv install'
15+
script:
16+
- 'ansible-lint *.yml'
17+
# - 'ansible-playbook deploy-dev.yml'

ansible/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ backup/*
99

1010
roles/gateway/files/conf.d/default.conf
1111
roles/gateway/files/ui-dist/
12+
13+
host_vars/*
14+
!host_vars/demo-file.yml
15+
src/*

ansible/Pipfile

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ name = "pypi"
55

66
[packages]
77
docker-py = "*"
8+
boto3 = "*"
9+
boto = "*"
10+
ansible-lint = "*"

ansible/Pipfile.lock

+58-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ansible/ansible.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[defaults]
22
inventory = hosts.ini
3+
host_key_check = False

ansible/build-prod.yml

+12-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
---
21
####################################################################################
32
# This playbook only builds the docker images locally
43
#
54
####################################################################################
65

7-
8-
- name: Build the Docker images only. Do not
6+
- name: Build the Docker images only.
97
hosts: build
108
tasks:
11-
- name: Iterate over group variables
12-
debug:
13-
var: item
14-
with_items: "{{ hostvars | to_nice_json }}"
15-
- name: Start running the commands
16-
import_tasks: discover-tasks.yml
17-
- include_role:
18-
name: gateway
19-
tasks_from: task-build-release
20-
vars:
21-
gateway_tag: "{{ docker_tag }}"
22-
23-
24-
25-
9+
- name: Iterate over group variables
10+
debug:
11+
var: item
12+
with_items: "{{ hostvars | to_nice_json }}"
13+
- name: Start running the commands
14+
import_tasks: discover-tasks.yml
15+
- include_role:
16+
name: gateway
17+
tasks_from: task-build-release
18+
vars:
19+
gateway_tag: "{{ docker_tag }}"

ansible/deploy-dev.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
---
21
####################################################################################
3-
# This playbook only builds in dev mode.
2+
# This playbook only builds in dev mode.
43
#
54
####################################################################################
65

7-
86
- name: Build Playbook
97
hosts: dev
108
tasks:
11-
129
- name: Start running the commands
1310
import_tasks: discover-tasks.yml
1411
vars:
15-
- run_action: true
16-
- build_action: local
17-
18-
12+
- run_action: true
13+
- build_action: local

ansible/deploy.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
####################################################################################
32
# This playbook manages the target hosts and calls "discover-tasks.yml" workhorse
43
# playbook.
@@ -8,11 +7,9 @@
87
#
98
####################################################################################
109

11-
- name: Build Playbook
10+
- name: Deploy Playbook
1211
hosts: deployed
1312

1413
tasks:
1514
- name: Start running the commands
1615
import_tasks: discover-tasks.yml
17-
18-

0 commit comments

Comments
 (0)