Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:debian:6:avance:l130:part2 [2022/05/20 12:10] – admin | elearning:workbooks:debian:6:avance:l130:part2 [2023/08/25 01:28] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
- | Version : **2022.02** | + | Version : **2023.02** |
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
Ligne 36: | Ligne 36: | ||
< | < | ||
[trainee@centos8 ~]$ ansible all -i 10.0.2.52, -m ping | [trainee@centos8 ~]$ ansible all -i 10.0.2.52, -m ping | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
10.0.2.52 | SUCCESS => { | 10.0.2.52 | SUCCESS => { | ||
" | " | ||
Ligne 55: | Ligne 53: | ||
< | < | ||
[trainee@centos8 ~]$ ansible --help | [trainee@centos8 ~]$ ansible --help | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
usage: ansible [-h] [--version] [-v] [-b] [--become-method BECOME_METHOD] | usage: ansible [-h] [--version] [-v] [-b] [--become-method BECOME_METHOD] | ||
| | ||
Ligne 374: | Ligne 370: | ||
< | < | ||
[trainee@centos8 ~]$ ansible all -i 10.0.2.54, -m ping | [trainee@centos8 ~]$ ansible all -i 10.0.2.54, -m ping | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
10.0.2.54 | SUCCESS => { | 10.0.2.54 | SUCCESS => { | ||
" | " | ||
Ligne 384: | Ligne 378: | ||
} | } | ||
[trainee@centos8 ~]$ ansible all -i 10.0.2.55, -m ping | [trainee@centos8 ~]$ ansible all -i 10.0.2.55, -m ping | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
10.0.2.55 | SUCCESS => { | 10.0.2.55 | SUCCESS => { | ||
" | " | ||
Ligne 399: | Ligne 391: | ||
< | < | ||
[trainee@centos8 ~]$ ansible all -i web01, | [trainee@centos8 ~]$ ansible all -i web01, | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
web02 | SUCCESS => { | web02 | SUCCESS => { | ||
" | " | ||
Ligne 439: | Ligne 429: | ||
< | < | ||
[trainee@centos8 ~]$ ansible all -i web01, | [trainee@centos8 ~]$ ansible all -i web01, | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
web02 | CHANGED | rc=0 >> | web02 | CHANGED | rc=0 >> | ||
| | ||
Ligne 797: | Ligne 785: | ||
< | < | ||
[trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml | [trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | ||
Ligne 842: | Ligne 828: | ||
< | < | ||
[trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml -l equilibrage | [trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml -l equilibrage | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | ||
Ligne 870: | Ligne 854: | ||
< | < | ||
[trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml -l web04 | [trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml -l web04 | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | ||
Ligne 911: | Ligne 893: | ||
< | < | ||
[trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml --tags service | [trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml --tags service | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | ||
Ligne 947: | Ligne 927: | ||
< | < | ||
[trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml --tags service -l equilibrage | [trainee@centos8 ~]$ ansible-playbook -i inventory playbook.yaml --tags service -l equilibrage | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | PLAY [basededonnees] ********************************************************************************************************************************************************************************************* | ||
Ligne 1083: | Ligne 1061: | ||
< | < | ||
[trainee@centos8 ~]$ ansible-galaxy install geerlingguy.java | [trainee@centos8 ~]$ ansible-galaxy install geerlingguy.java | ||
- | [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Sep 10 2021, 09:13:53) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]. | ||
- | This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | ||
Starting galaxy role install process | Starting galaxy role install process | ||
- downloading role ' | - downloading role ' | ||
Ligne 1154: | Ligne 1130: | ||
</ | </ | ||
- | Avant d' | + | Avant d’exécuter |
< | < | ||
Ligne 1161: | Ligne 1137: | ||
[defaults] | [defaults] | ||
deprecation_warnings=False | deprecation_warnings=False | ||
+ | log_path = ./ | ||
</ | </ | ||
Ligne 1368: | Ligne 1345: | ||
----- | ----- | ||
- | Copyright © 2022 Hugh Norris. | + | Copyright © 2023 Hugh Norris. |