Fixes
This commit is contained in:
parent
fd2ac3ea27
commit
648c679b03
6
Makefile
6
Makefile
@ -2,8 +2,7 @@ configure:
|
|||||||
ansible-playbook \
|
ansible-playbook \
|
||||||
--inventory "ansible/hosts_prod" \
|
--inventory "ansible/hosts_prod" \
|
||||||
--extra-vars='ansible_python_interpreter=/usr/bin/python3' \
|
--extra-vars='ansible_python_interpreter=/usr/bin/python3' \
|
||||||
--become \
|
--user=av \
|
||||||
--become-user=av \
|
|
||||||
--ask-become-pass \
|
--ask-become-pass \
|
||||||
ansible/configuration.yml
|
ansible/configuration.yml
|
||||||
|
|
||||||
@ -11,8 +10,7 @@ dry-run:
|
|||||||
ansible-playbook \
|
ansible-playbook \
|
||||||
--inventory "ansible/hosts_prod" \
|
--inventory "ansible/hosts_prod" \
|
||||||
--extra-vars='ansible_python_interpreter=/usr/bin/python3' \
|
--extra-vars='ansible_python_interpreter=/usr/bin/python3' \
|
||||||
--become \
|
--user=av \
|
||||||
--become-user=av \
|
|
||||||
--ask-become-pass \
|
--ask-become-pass \
|
||||||
--check \
|
--check \
|
||||||
--diff \
|
--diff \
|
||||||
|
@ -29,10 +29,6 @@
|
|||||||
php_date_timezone: '{{ timezone }}'
|
php_date_timezone: '{{ timezone }}'
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Ensure that PHP PPA is added.
|
|
||||||
apt_repository: repo=ppa:ondrej/php state=present
|
|
||||||
- name: Update apt cache
|
|
||||||
apt: update_cache=yes cache_valid_time=86400
|
|
||||||
- name: Install system packages
|
- name: Install system packages
|
||||||
apt: pkg={{ item }} state=latest
|
apt: pkg={{ item }} state=latest
|
||||||
with_items:
|
with_items:
|
||||||
@ -42,6 +38,10 @@
|
|||||||
- python-software-properties
|
- python-software-properties
|
||||||
- wget
|
- wget
|
||||||
- zip
|
- zip
|
||||||
|
- name: Ensure that PHP PPA is added.
|
||||||
|
apt_repository: repo=ppa:ondrej/php state=present
|
||||||
|
- name: Update apt cache
|
||||||
|
apt: update_cache=yes cache_valid_time=86400
|
||||||
- name: Add deploy user
|
- name: Add deploy user
|
||||||
user:
|
user:
|
||||||
name: '{{ deploy_user }}'
|
name: '{{ deploy_user }}'
|
||||||
@ -54,5 +54,5 @@
|
|||||||
- geerlingguy.php
|
- geerlingguy.php
|
||||||
|
|
||||||
- homepage
|
- homepage
|
||||||
- s2photo
|
# - s2photo
|
||||||
- notes
|
# - notes
|
||||||
|
@ -3,7 +3,7 @@ notes_name: notes
|
|||||||
notes_owner: notes_owner
|
notes_owner: notes_owner
|
||||||
notes_dir: /var/www/notes
|
notes_dir: /var/www/notes
|
||||||
notes_web_root: '{{ notes_dir }}/current/web'
|
notes_web_root: '{{ notes_dir }}/current/web'
|
||||||
notes_domain: 'notes.anwinged.ru'
|
notes_domain: 'notes.vakhrushev.me'
|
||||||
notes_cert_type: 'letsencrypt'
|
notes_cert_type: 'letsencrypt'
|
||||||
notes_dbname: notes_db
|
notes_dbname: notes_db
|
||||||
notes_dbuser: notes_db
|
notes_dbuser: notes_db
|
||||||
|
Loading…
Reference in New Issue
Block a user