moueza / webinaire-Red-Hat-Ansible

RDV Red Hat Ansible Mercredi, 10 mars⋅10:00 à 12:00 Calendar
Apache License 2.0
0 stars 0 forks source link

General #1

Open moueza opened 3 years ago

moueza commented 3 years ago

[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [update web servers] **

TASK [Gathering Facts] ***** ok: [localhost]

TASK [ensure apache is at the latest version] ** fatal: [localhost]: FAILED! => {"ansible_facts": {"pkg_mgr": "apt"}, "cache_update_time": 1615440158, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'httpd'' failed: E: Package 'httpd' has no installation candidate\n", "rc": 100, "stderr": "E: Package 'httpd' has no installation candidate\n", "stderr_lines": ["E: Package 'httpd' has no installation candidate"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nPackage httpd is a virtual package provided by:\n yaws 2.0.7+dfsg-2\n webfs 1.21+ds1-12\n tntnet 2.2.1-4build1\n ocsigenserver 2.16.0-3build2\n nginx-light 1.18.0-6ubuntu2\n nginx-full 1.18.0-6ubuntu2\n nginx-extras 1.18.0-6ubuntu2\n mini-httpd 1.30-2\n micro-httpd 20140814-2\n lighttpd 1.4.55-1ubuntu2\n nginx-core 1.18.0-6ubuntu2\n apache2 2.4.46-1ubuntu1\n\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Package httpd is a virtual package provided by:", " yaws 2.0.7+dfsg-2", " webfs 1.21+ds1-12", " tntnet 2.2.1-4build1", " ocsigenserver 2.16.0-3build2", " nginx-light 1.18.0-6ubuntu2", " nginx-full 1.18.0-6ubuntu2", " nginx-extras 1.18.0-6ubuntu2", " mini-httpd 1.30-2", " micro-httpd 20140814-2", " lighttpd 1.4.55-1ubuntu2", " nginx-core 1.18.0-6ubuntu2", " apache2 2.4.46-1ubuntu1", ""]}

PLAY RECAP ***** localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0