Skip to content

Commit

Permalink
Merge pull request #5 from paralect/ezhivitsa/python3
Browse files Browse the repository at this point in the history
Add support of the python3
  • Loading branch information
Andrew Orsich authored Mar 20, 2018
2 parents da18917 + f0d4fae commit 7b50e3a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
1 change: 0 additions & 1 deletion deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
- name: Deploy drone ci server
hosts: drone
become_user: root
become: true
vars_files:
- "vars/credentials.yml"
Expand Down
4 changes: 2 additions & 2 deletions hosts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
drone ansible_ssh_host=178.62.116.103 ansible_user=root
nginx ansible_ssh_host=178.62.116.103 ansible_user=root
drone ansible_ssh_host=178.62.116.103 ansible_user=root ansible_python_interpreter='/usr/bin/python3'
nginx ansible_ssh_host=178.62.116.103 ansible_user=root ansible_python_interpreter='/usr/bin/python3'
2 changes: 1 addition & 1 deletion local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: drone/drone:0.8.4
ports:
- 8000:8000
- 9000
- 9000:9000
volumes:
- ./drone-data:/var/lib/drone/
env_file:
Expand Down
1 change: 0 additions & 1 deletion setup-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
- name: Setup nginx for drone
hosts: nginx
become: true
become_user: root
gather_facts: False
vars_prompt:
- name: run_roles
Expand Down
8 changes: 1 addition & 7 deletions setup-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
- name: Setup drone ci server
hosts: drone
become: true
become_user: root
gather_facts: False
vars_files:
- ["vars/main.yml"]
roles:
- { role: angstwad.docker_ubuntu, pip_version_docker_py: 1.9.0 }
pre_tasks:
- name: setup python 2 to make ansible work on ubuntu 16.04
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
- setup: # aka gather_facts
- { role: angstwad.docker_ubuntu }

0 comments on commit 7b50e3a

Please sign in to comment.