Fix yaml lint

This commit is contained in:
Emilien Mantel
2021-09-01 11:21:12 +02:00
parent bdddb06fcc
commit 6c7e0c2a47
18 changed files with 192 additions and 198 deletions

View File

@@ -1,2 +1 @@
---

View File

@@ -1,2 +1 @@
---

View File

@@ -9,7 +9,7 @@
- name: APT | Install needed packages
apt:
pkg: "{{ packages }}"
update_cache: yes
update_cache: true
cache_valid_time: 3600
state: present
vars:
@@ -27,7 +27,7 @@
- name: APT | Install PHP
apt:
pkg: "{{ pkgs }}"
update_cache: yes
update_cache: true
cache_valid_time: 3600
state: present
vars:
@@ -61,7 +61,7 @@
unarchive:
src: "/tmp/ngrok.zip"
dest: "/tmp"
remote_src: yes
remote_src: true
- name: SET_FACT | ngrok_path
set_fact:
@@ -70,7 +70,7 @@
- name: USER | Create PHP User foo
user:
name: foo
system: yes
system: true
- name: INCLUDE_ROLE | HanXHX.php
include_role:

View File

@@ -17,8 +17,6 @@
sockets:
- host: '127.0.0.1'
port: 9000
# nginx_load_modules:
# - /usr/local/libexec/nginx/ngx_http_geoip_module.so
ngrok_path: '/usr/local/bin/ngrok'
- name: PKGNG | Install needed packages
@@ -30,22 +28,16 @@
- curl
- daemonize
- fcgiwrap
# - GeoIP
- jq
- nghttp2
- php74
- vim
#- name: COMMAND | Get geoip database
# command: geoipupdate.sh
# args:
# creates: /usr/local/share/GeoIP/GeoIP.dat
- name: SERVICE | Force start services
service:
name: "{{ item }}"
state: started
enabled: yes
enabled: true
register: sf
loop:
- php-fpm

View File

@@ -24,7 +24,7 @@
lineinfile:
line: "set mouse="
dest: "{{ item }}/.vimrc"
create: yes
create: true
loop:
- /root
- /home/vagrant