[dopr] typo; disabled known_hosts cleaning

This commit is contained in:
Valentin Gologuzov 2015-06-11 14:34:13 +02:00
parent 2acf7e46ef
commit 3102fddd17
2 changed files with 14 additions and 18 deletions

View file

@ -1,16 +1,16 @@
- name: clean known hosts #- name: clean known hosts
hosts: dopr-stg # hosts: dopr-stg
remote_user: fedora # remote_user: fedora
sudo: True # sudo: True
gather_facts: False # gather_facts: False
#
tasks: # tasks:
- name: clean out old known_hosts for dopr-dev # - name: clean out old known_hosts for dopr-dev
local_action: known_hosts path={{item}} host=dopr-dev.cloud.fedoraproject.org state=absent # local_action: known_hosts path={{item}} host=dopr-dev.cloud.fedoraproject.org state=absent
ignore_errors: True # ignore_errors: True
with_items: # with_items:
- /root/.ssh/known_hosts # - /root/.ssh/known_hosts
- /etc/ssh/ssh_known_hosts # - /etc/ssh/ssh_known_hosts
- name: provision dopr dev instance - name: provision dopr dev instance
hosts: dopr-stg hosts: dopr-stg

View file

@ -67,20 +67,16 @@
- name: copy cdic config - name: copy cdic config
template: src="cdic.py" dest="/home/cdic/.config/cdic.py" template: src="cdic.py" dest="/home/cdic/.config/cdic.py"
- copy: src="cdic_update_db.sh" dest="/usr/local/bin/" chmod=0755 - copy: src="cdic_update_db.sh" dest="/usr/local/bin/" mode=0755
- name: copy ssh key for github - name: copy ssh key for github
copy: src="{{private}}/files/dopr/github-testing" dest="/home/cdic/.ssh/id_rsa" copy: src="{{private}}/files/dopr/github-testing" dest="/home/cdic/.ssh/id_rsa"
- include: "psql_setup.yml" - include: "psql_setup.yml"
- name: enables services - name: enables services
service: state=running enabled=yes name={{ item }} service: state=running enabled=yes name={{ item }}
with_items: with_items:
- redis - redis
- cdic_async - cdic_async
- cdic_gunicorn - cdic_gunicorn