Commit Graph

53114 Commits (27ab589ee874cac7aad65cfb3630a5b38082e4b8)
 

Author SHA1 Message Date
Brian Coca 27ab589ee8
ansible-config, only subvalues should use yaml shorthand (#79073)
* ensure we only use shorthand for assigned values

* fix ansible-config std display

* split baby

* killed offending whitespace

* moved to func instead

* the revenge of whitespace
2 years ago
Brian Coca fcea07bbef
Custom salt for ansible-vault encrypt (#79063)
* Custom salt for ansible-vault encrypt

  add VAULT_ENCRYPT_SALT config
  add salt testing


Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Piotr Stawarski <p@stawarski.pl>
2 years ago
sbettid 8cf7a0d3f0
Fix collection install from source respects symlinks (#78983)
* Fix installation from source transforms symlinks of dirs to empty dirs

* Add test to check symlinks to dirs are respected when installing from source

* Add changelog for collection install from source symlink to dirs issue
2 years ago
Matt Martz 420564c5bc
Ensure that we do not squash keywords in validate (#79049)
* Ensure that we do not squash keywords in validate. Fixes #79021

* become_user: nobody should only apply to the test tasks, not the setup_test_user role

* Update how become_user is specified

* Add test to ensure keyword inheritance is working for become

* Add clog frag

* Cache fattributes to prevent re-calculation

* ci_complete

* Remove unnecessary getattr
2 years ago
Donatas Abraitis 11c1777d56
facts: List all local (scope host) IP address ranges (#79018)
After changes:
```
        "ansible_locally_reachable_ips": {
            "ipv4": [
                "127.0.0.0/8",
                "127.0.0.1",
                "192.168.0.1",
                "192.168.1.0/24"
            ],
            "ipv6": [
                "::1",
                "fe80::2eea:7fff:feca:fe68",
                ...
            ]
        },
```

192.168.1.0/24 is a local prefix, where any IP address inside this range
is reachable locally (or outside this host if this prefix is announced via
EGP/IGP).

Signed-off-by: Donatas Abraitis <donatas.abraitis@hostinger.com>
2 years ago
Martin Krizek e1daaae42a
Fix using FQCN for flush_handlers (#79057)
Fixes #79023
2 years ago
Leo Ochoa f8f1c6a6b5
Add password_hash filter and fix some nits (#78743)
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Matt Martz 44581289e8
Use python re to parse service output instead of grep (#79015)
* Use python re to parse service output instead of grep. Fixes #78541

* Add clog frag

* Add an extra guard to abort if rc is 4, and /etc/init.d is missing
2 years ago
Shubhadeep Das 680bf029b1
Docs: Add code-block wrappers in lookup.rst & strategy.rst (#79032, #79033) (#79048) 2 years ago
Shellylo 35700f57cc
Docs: Add code-block wrappers in faq.rst (#79047) 2 years ago
shade34321 25a770de37
Docs: fixed configs docs to properly display code blocks (#79040)
* fixed some docs to properly display code blocks
Co-authored-by: Shade Alabsa <shadealabsa@microsoft.com>
2 years ago
shade34321 3fc3371463
Cleaned up test_strategies doc (#79045)
Authored-by: Shade Alabsa <shadealabsa@microsoft.com>
2 years ago
Deepshri M 3a788314a2
Docs: Adding code blocks wrapper (#79042)
* Adding code blocks wrapper
2 years ago
Mudit Choudhary 63b5fc4b8d
Docs: Add code-block wrappers to code examples (#79037)
* Docs: Add code-block wrappers to code examples
2 years ago
Deepshri M 57f22529cb
Add code-block wrappers in network_debug_troubleshooting.rst 2 years ago
Brian Coca ff6e4da36a
fixes to FA inheritance (#78990)
finalized applies to all field attributes
fix getting parent value
also remove unused/needed extend/prepend signature
moar testing
2 years ago
Dmytro Khomutnyk b5db71e318
ansible-vault: add newline to the output of the 'encrypt_string' command (#79017)
* ansible-vault: add newline to the output of the 'encrypt_string' command

* Add comment with issue description and improve string joining

* Add changelog fragment

* Update changelogs/fragments/79017-ansible-vault-string-encryption-ending-with-newline.yml

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

* Fixed some typos in changelog fragment

* Improve comment regarding newline character at the end of file

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2 years ago
prayatharth 56285b1d2b
Docs: true/false with boolean values (#78980)
* Adding FQCN community.postgresql. to postgresql modules
2 years ago
Felix Fontein 6d0aeac1e1
Do not crash templating when filter/test name is not a valid Ansible plugin name (#78913)
* Do not crash templating when filter/test name is not a valid Ansible plugin name.
* Store and re-raise KeyError if there was one.

Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com>
2 years ago
Samuel Gaist 367cdae3b2
docs: replace latin terms with english in the scenario_guides (#79008) 2 years ago
Samuel Gaist 4d3c12ae9e
docs: replace latin terms with english in the reference_appendices (#79010) 2 years ago
smeet07 8f4133b514
Docs: Replace Latin in the porting guides (#79011) 2 years ago
taso ea04d05a1e
Docs: Typo in Alibaba Cloud Compute Services Guide (#78984) 2 years ago
Samuel Gaist 8d665a1a8e
docs: replace latin terms with english in network (#79013)
fixes #78999 by removing Latin usage in network docs
2 years ago
Ishan Siddiqui f0cc70f9e1
No latin terms (#79009)
Fixes #79006
2 years ago
Suven-p 173ddde126
Docs: true/false with boolean values in docsite/rst/playbook_guide (#78958) 2 years ago
Ishan Siddiqui 4f4ad453c4
Fixed Latin words, replaced all via with either through or by (#79004) 2 years ago
Samuel Gaist 55925958ea
docs: replace latin terms with english in the os_guide directory (#79007)
Fixes #79003
2 years ago
Niranjan Meghwal 78c9fb4159
replace with boolean true/false (#78950) 2 years ago
Mazen Ramadan fbd98cd824
Docs: Replace Latin terms in the dev_guide #78997 (#79005) 2 years ago
J-F-Far 5b333c9665
scenario guide doc changes (#78934) 2 years ago
Kampftoast 5137cb16e9
Update porting_guide_5.rst (#78954) 2 years ago
Kampftoast ba32642538
Update porting_guide_4.rst (#78953) 2 years ago
Kampftoast 919c449256
Update porting_guide_3.rst (#78952)
Fixes #78914
2 years ago
Kampftoast dc2d15fca4
Update porting_guide_2.0.rst (#78951)
Replaced http link with rst version - issue https://github.com/ansible/ansible/issues/78914
2 years ago
Blaster4385 f7c01bc866
Docs: Provide descriptive labels for http references (#78959) 2 years ago
Sudipto Ghosh fb8c2daf46
Docs: true/false with boolean values in docsite/rst/os_guide (#78957) 2 years ago
jmakhack 56c48d1c45
docs - Use code-block to format examples in Windows module development walkthrough (#78985) 2 years ago
Thomas Doczkal 1b922b42dd
Adds code-block in collection documentation (#78977)
* fix issue #78976
2 years ago
Luigi Giugliano 9afb37eda6
#78965 Adding the code-block to prevent the translation (#78979)
* Adding the code-block to prevent the translation
2 years ago
IMvision12 93c2cb2b8e
#78971 Update module_lifecycle.rst (#78974)
* Update module_lifecycle.rst
2 years ago
Ozan Uslan 3dc0c2135e
Docs: Add code-block wrappers to code examples in style_guide (#78970)
* Docs: Add code-block wrappers to code examples in style_guide
List of changed files:
- docs/docsite/rst/dev-guide/style_guide/index.rst
- docs/docsite/rst/dev-guide/style_guide/basic_rules.rst
2 years ago
Lukas Grimm 446406a0c8
added code-blocks according to #78963 (#78969)
* added code-blocks according to  #78963
* Update testing.rst, added newlines
2 years ago
Deepshri M 1db75a41bf
Adding code-block wrappers to code examples (#78968) 2 years ago
Lukas Grimm 01484cdc68
added code-blocks according to #78962 (#78972) 2 years ago
Ozan Uslan 538b99781f
Docs: Add code-block wrappers to code examples: testing_documentation.rst (#78966)
* Docs: Add code-block wrappers to code examples: testing_documentation.rst
List of changed files:
- docs/docsite/rst/dev_guide/testing_documentation.rst
* Fix: match whitespace convention of other occurences
2 years ago
Matt Clay 5b239acb77 ansible-test - Update distro containers to 4.8.0.
The updated containers include coverage 6.5.0.
2 years ago
Brian Coca 9650ddb11c
omit keyword should reset to context (#78917)
* omit keyword should reset to context

  ensure we use context/inheritance when calculating value,
  using default only when context is unavailable.

  fixes #75692
2 years ago
Matt Clay 20c1252212 ansible-test - Update coverage to version 6.5.0.
ci_complete
ci_coverage
2 years ago
Jasper cee9872605
apt_key, fix example indentation
Co-authored-by: Matt Clay <matt@mystile.com>
2 years ago