mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
remove some instances of state: installed (#53537)
This fixes the examples in multiple modules so they use `state: present` instead of `state: installed`.
This commit is contained in:
committed by
Alicia Cozine
parent
4172d68dc3
commit
86ba4f3e46
@@ -16,7 +16,10 @@ Ansible makes it easy for you to configure the remote execution environment by u
|
||||
|
||||
tasks:
|
||||
|
||||
- apt: name=cobbler state=installed
|
||||
- name: Install cobbler
|
||||
package:
|
||||
name: cobbler
|
||||
state: present
|
||||
environment:
|
||||
http_proxy: http://proxy.example.com:8080
|
||||
|
||||
@@ -32,7 +35,10 @@ The environment can also be stored in a variable, and accessed like so::
|
||||
|
||||
tasks:
|
||||
|
||||
- apt: name=cobbler state=installed
|
||||
- name: Install cobbler
|
||||
package:
|
||||
name: cobbler
|
||||
state: present
|
||||
environment: "{{proxy_env}}"
|
||||
|
||||
You can also use it at a play level::
|
||||
|
||||
Reference in New Issue
Block a user