diff options
author | EuAndreh <eu@euandre.org> | 2020-08-02 19:14:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-02 19:14:01 -0300 |
commit | 103f64aa1d5a2c030319baa7a6b3938dfebf99e8 (patch) | |
tree | 0bf8e863b1467c053caad0cbe60dff262d195d64 | |
parent | docker-compose.env.yaml: Add /etc/nginx/vhost.d as a volue for letsencrypt co... (diff) | |
download | server-103f64aa1d5a2c030319baa7a6b3938dfebf99e8.tar.gz server-103f64aa1d5a2c030319baa7a6b3938dfebf99e8.tar.xz |
provision.env.yaml: Stop installing Python 2
Ansible now instead of requiring Python 2 (that being the reason for this piece of
code to exist) it complains about using it, and issues a deprecation warning:
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host arrobaponto.org should
use /usr/bin/python3, but is using /usr/bin/python for backward compatibility
with prior Ansible releases. A future Ansible release will default to using the
discovered platform python for this host. See https://docs.ansible.com/ansible
/2.9/reference_appendices/interpreter_discovery.html for more information. This
feature will be removed in version 2.12. Deprecation warnings can be disabled
by setting deprecation_warnings=False in ansible.cfg.
-rw-r--r-- | provision.env.yaml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/provision.env.yaml b/provision.env.yaml index 4f98e62..e03969a 100644 --- a/provision.env.yaml +++ b/provision.env.yaml @@ -1,13 +1,6 @@ --- - hosts: all any_errors_fatal: true - gather_facts: no - pre_tasks: - - name: Install Python 2 for Ansible fact gathering - raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) - -- hosts: all - any_errors_fatal: true tasks: - name: Update Ubuntu server apt: |