mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Replace ansible include with include/import_tasks
Deprecated and not available in versions 2.16+
This commit is contained in:
committed by
Dan Christian Bogos
parent
da4bf0d783
commit
8ed26c769e
@@ -29,7 +29,7 @@
|
||||
shell: 'printf "expire\n{{ gpg_expire }}\nsave\n" | gpg --batch --command-fd 0 --status-fd=2 --edit-key {{ gpg_realname }}'
|
||||
when: gpgkeys.stdout_lines|length > 0 and gpgExpKeys.stdout_lines|length > 0
|
||||
|
||||
- include: gpg-gen-key.yaml
|
||||
- include_tasks: gpg-gen-key.yaml
|
||||
when: gpgkeys.stdout_lines|length < 1
|
||||
|
||||
- name: get user armored public key
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
apt: name={{ dependencies }} state=present
|
||||
|
||||
- name: Configure reprepro
|
||||
include: reprepro.yaml
|
||||
import_tasks: reprepro.yaml
|
||||
|
||||
- name: Generate GPG Key
|
||||
include: gpg.yaml
|
||||
import_tasks: gpg.yaml
|
||||
|
||||
- name: Check if NGINX needs to be configured
|
||||
become: true
|
||||
@@ -55,7 +55,7 @@
|
||||
register: nginxConfig
|
||||
|
||||
- name: Configure NGINX server
|
||||
include: nginx.yaml
|
||||
include_tasks: nginx.yaml
|
||||
when: nginxConfig.stdout_lines|length < 1
|
||||
|
||||
- name: Enable and start nginx
|
||||
|
||||
Reference in New Issue
Block a user