[dopr] typo; disabled known_hosts cleaning
This commit is contained in:
parent
2acf7e46ef
commit
3102fddd17
2 changed files with 14 additions and 18 deletions
|
@ -1,16 +1,16 @@
|
|||
- name: clean known hosts
|
||||
hosts: dopr-stg
|
||||
remote_user: fedora
|
||||
sudo: True
|
||||
gather_facts: False
|
||||
|
||||
tasks:
|
||||
- name: clean out old known_hosts for dopr-dev
|
||||
local_action: known_hosts path={{item}} host=dopr-dev.cloud.fedoraproject.org state=absent
|
||||
ignore_errors: True
|
||||
with_items:
|
||||
- /root/.ssh/known_hosts
|
||||
- /etc/ssh/ssh_known_hosts
|
||||
#- name: clean known hosts
|
||||
# hosts: dopr-stg
|
||||
# remote_user: fedora
|
||||
# sudo: True
|
||||
# gather_facts: False
|
||||
#
|
||||
# tasks:
|
||||
# - name: clean out old known_hosts for dopr-dev
|
||||
# local_action: known_hosts path={{item}} host=dopr-dev.cloud.fedoraproject.org state=absent
|
||||
# ignore_errors: True
|
||||
# with_items:
|
||||
# - /root/.ssh/known_hosts
|
||||
# - /etc/ssh/ssh_known_hosts
|
||||
|
||||
- name: provision dopr dev instance
|
||||
hosts: dopr-stg
|
||||
|
|
|
@ -67,20 +67,16 @@
|
|||
- name: copy cdic config
|
||||
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
|
||||
copy: src="{{private}}/files/dopr/github-testing" dest="/home/cdic/.ssh/id_rsa"
|
||||
|
||||
- include: "psql_setup.yml"
|
||||
|
||||
|
||||
|
||||
- name: enables services
|
||||
service: state=running enabled=yes name={{ item }}
|
||||
with_items:
|
||||
- redis
|
||||
- cdic_async
|
||||
- cdic_gunicorn
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue