Skip to content

Change remaining examples of "state: installed" to "state: present" #47869

@acozine

Description

@acozine
SUMMARY

Using state: installed is deprecated:

[DEPRECATION WARNING]: State 'installed' is deprecated. Using state 'present' instead.. This feature will be removed in version 2.9.

PR #47267 fixed many instances of this, but there are a few left - one on a Windows page:

[alicia@tooticky]~/git_repos/ansible/docs/docsite/rst$ grep -rl "state: installed" ./
.//user_guide/windows_usage.rst

and four in the module examples:

swdepot_module
bigip_software_install_module
nmcli_module
bigip_ucs_module

Update these references to use state: present and re-test examples.

Related to #47202.

ISSUE TYPE
  • Documentation Report
COMPONENT NAME

docs.ansible.com

ANSIBLE VERSION

2.8

CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

Metadata

Metadata

Assignees

Labels

affects_2.8This issue/PR affects Ansible v2.8docsThis issue/PR relates to or includes documentation.easyfixThis issue is considered easy to fix by aspiring contributors.networkingNetwork categorysupport:coreThis issue/PR relates to code supported by the Ansible Engineering Team.windowsWindows community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions