Brian Coca
7e0a476ba2
setup module, make missing sysctl minor issue ( #81297 )
...
Signed-off-by: Brian Coca <brian.coca+git@gmail.com>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Abhijeet Kasurde
ac6200b597
Refactor dmidecode fact gathering code ( #83211 )
...
* Code now bails out early if dmidecode command is unavailable
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Sloane Hertel
65638b4d01
remove old install info when installing collections ( #83194 )
...
* Fix cleaning up galaxy server info from previous installations
* changelog
7 months ago
Abhijeet Kasurde
f7d7890df9
Use inclusive word: logical ( #83232 )
...
Use word 'logical' instead of non-inclusive word
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Martin Krizek
8ad68f12ee
Refactor yum_repository, deprecate yum only options ( #83116 )
7 months ago
Martin Krizek
3c280e6c1b
dnf5: implement enable_plugin and disable_plugin options ( #83105 )
...
80cfea9c25
7 months ago
Abhijeet Kasurde
036d14f1e6
Darwin: add unit tests for hardware fact gathering ( #83212 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Martin Krizek
523745e02e
dnf: integration tests cleanup ( #83203 )
...
* remove no longer needed tasks
* remove workarounds
* consolidate conditionals
* remove distros/versions from conditionals that are no longer present
in CI
7 months ago
Florian
45a30ab093
package_facts: apk fix when cache is empty ( #83132 )
7 months ago
Brian Coca
504bdae894
added examples for systemd service usage ( #83192 )
...
mostly how to filter/manipulate the results
---------
Co-authored-by: flowerysong <junk+github@flowerysong.com>
7 months ago
Abhijeet Kasurde
57a8eca3af
pymarkdown: update docs ( #83150 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Peter Whall
417db213c0
facts: Update RAID devices regex for FreeBSD ( #82081 )
...
Added support FreeBSD RAID devices and regex to match partitions as well as slices.
RAID device list is taken from here: https://github.com/freebsd/freebsd-src/blob/main/usr.sbin/bsdconfig/share/device.subr
7 months ago
Brian Coca
aed8c080f6
ansible-galaxy, clarify licensing for 'init' templates and results ( #83175 )
7 months ago
flowerysong
f5b945bf6a
ansible-doc: fix typo in output ( #83205 )
7 months ago
Jens Carl
eb3ea3ce5c
Fix order of CLI arguments on FreeBSD ( #81377 )
...
When passing arguments on FreeBSD to service command the order is
important, otherwise the service command will ignore the arguments.
7 months ago
Matt Clay
6aa8192131
Multi-arch support for container test ( #83196 )
7 months ago
Matt Clay
3461f1d757
Build test modules for aarch64 ( #83195 )
7 months ago
Abhijeet Kasurde
f4bbd75a3c
git: Check if version is populated or not ( #82173 )
...
Before usage check if the git version is populated or not.
Fixes : #72321
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Brian Coca
2816922cd6
display: fix log verbosity ( #83179 )
...
* display, ensure we have a logger before we log
7 months ago
Matt Davis
889012e29e
clean up ansible-connection ( #82992 )
...
* clean up ansible-connection stuff
* eliminate unnecessary usage of pty/termios
* always use default pickle protocol
* remove unnecessary wire hashing
Co-authored-by: Kate Case <this.is@katherineca.se>
7 months ago
Brian Coca
ad777cba5a
package_facts add alias support ( #83149 )
...
* package_facts add alias support
fixes #83143
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Matt Martz
dc6b77beca
Don't hardcode the dnf module, dynamically select one ( #83183 )
7 months ago
Abhijeet Kasurde
2b65166a29
uri: deprecate 'yes' or 'no' value in follow_redirects param ( #83169 )
...
* uri (module and lookup): deprecate 'yes' or 'no' value in follow_redirects param
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Matt Martz
cd9c4eb5a6
Gather sysinfo facts on s390 ( #83157 )
7 months ago
Felix Fontein
585ef6c55e
Show examples in role entrypoint argument specs. ( #82671 )
7 months ago
Felix Fontein
e3d4c20f6e
Correctly treat separate paragraphs in top-level descriptions as separate paragraphs. ( #83155 )
7 months ago
Jordan Borean
2ed6c30929
Add version ceiling for pypsrp ( #83122 )
...
* Add version ceiling for pypsrp
Add a version ceiling for the pypsrp requirements. This ensures that the
future v1.0.0 release won't impact existing users who install the
library using the version range specified.
* Use constraints file
* Add changelog for this change
7 months ago
Don Naro
dfc559866a
minor fix for misspelling ( #83156 )
...
This change fixes a minor spelling error, indivudually ==> individually.
7 months ago
Abhijeet Kasurde
802e95f580
distro: remove pep8 ignore
...
* Remove unnecessary pep8 from ignore.txt
Fixes : #80840
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Abhijeet Kasurde
628ce5a62e
assemble: update argument_spec with 'decrypt' option
...
* decrypt option is used by assemble action plugin.
Add this parameter to remove failure raised by
validate-modules:nonexistent-parameter-documented
Fixes : #80840
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Alex Willmer
d5edb77db4
Add description of ansible.utils.path.unfrackpath() basedir argument
7 months ago
Brian Coca
c18e755b82
removed extra ansible_managed
7 months ago
Sloane Hertel
e84240db84
Fix installing roles containing symlinks ( #82911 )
...
* Fix installing roles containing symlinks
Fix sanitizing tarfile symlinks relative to the link directory instead of the archive
For example:
role
├── handlers
│ └── utils.yml -> ../tasks/utils/suite.yml
The link ../tasks/utils/suite.yml will resolve to a path outside of the link's directory, but within the role
role/handlers/../tasks/utils/suite.yml
the resolved path relative to the role is tasks/utils/suite.yml, but if the symlink is set to that value, tarfile would extract it from role/handlers/tasks/utils/suite.yml
* Replace overly forgiving test case with tests for a symlink in a subdirectory of the archive and a symlink in the archive dir when these are not equivalent.
* Build test case from role files to make it easier to add test cases
Fixes #82702
Fixes #81965
Fixes #82051
7 months ago
Brian Coca
124d03145c
inspect components, ansible_managed templatable ( #83053 )
...
* inspect components, ansible_managed templatable
fixes #82322
7 months ago
Hrishikesh Mishra
718edde465
Update distro version in __init__.py ( #83114 )
...
Update the bundled package distro from 1.6.0 to 1.9.0 in __init__.py
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Sven
33d1224e83
password_hash: update docs about bcrypt ( #81675 )
...
Signed-off-by: Sven Kieske <kieske@osism.tech>
7 months ago
Martin Krizek
87bead3dcf
setup_rpm_repo/create_repo: "Arch dependent binaries in noarch package" ( #83108 )
...
This fixes "Arch dependent binaries in noarch package" error cause by
including files created by make_elf function in noarch packages. While the
error only manifests itself on EL 7 and 8 it is better to use files
suitable for noarch packages to prevent the error potentially
re-occuring in the future.
7 months ago
Thomas Sjögren
7f93f6171d
add systemd version and features fact ( #83083 )
...
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
8 months ago
Abhijeet Kasurde
5dac5d365a
systemd_service: handle failure when mask operation fails ( #83079 )
...
* Handle the mask operation failure instead of just
marking state changed.
Fixes : #81649
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago
Thomas Sjögren
ae2234f185
add countme option to yum_repository ( #82831 )
...
* add countme option to yum_repository
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* Update lib/ansible/modules/yum_repository.py
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* add changelog fragment
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* add version_added
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* Update lib/ansible/modules/yum_repository.py
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
* Update lib/ansible/modules/yum_repository.py
* Update lib/ansible/modules/yum_repository.py
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* Update lib/ansible/modules/yum_repository.py
---------
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
8 months ago
Abhijeet Kasurde
6b3bab6476
plugin: fixed examples of csv lookup plugin ( #83068 )
...
Fixes : #83031
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago
Abhijeet Kasurde
8c3c694472
test: remove ansible-examples.git repo ( #81600 )
...
* test: remove ansible-examples.git repo
* To speed up git tests remove reference to ansible-examples.git
Fixes : #81327
* Make CI green
Signed-off-by: Ansible Test Runner <noreply@example.com>
Co-authored-by: Ansible Test Runner <noreply@example.com>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
8 months ago
Brian Coca
0c51a30d93
ansible-config: add 'validate' option ( #83007 )
...
We can now validate both ansible.cfg and 'ANSIBLE_' env vars
match either core (-t base), installed plugin(s) (-t <plugin_type>) or both (-t all)
8 months ago
Matt Clay
8bc0d809a6
Update sdist path in release tool
...
The latest setuptools package uses a normalized package name for the sdist.
8 months ago
Martin Krizek
a3cdd831b3
handlers: fix executing in lockstep using linear ( #83030 )
...
Fixes #82307
8 months ago
Ernie Hershey
82d91f0952
Make inventory --list help text wording consistent ( #83035 )
8 months ago
Matt Martz
57750e2cf7
Fallbacks for brand new APIs that don't exist in released dnf5 ( #83022 )
8 months ago
Martin Krizek
3a6f825a8e
dnf - honor installroot and substitutes in paths ( #83011 )
...
In #80094 support for var substitution for cachedir was added but there
are more options that should be supported. Using an API for
prepend_installroot which should be done anyway provide that feature
so use that. In addition, perform the operation once all substitutes
are in place (releasever as well).
8 months ago
Martin Krizek
4e57249d59
dnf5: replace removed API calls ( #83020 )
...
* dnf5: replace removed API calls
bfb6f32e15
96c9188f9c
* call set_group_with_name instead of setting group_with_name
c7b88428f3
---------
Co-authored-by: Matt Martz <matt@sivel.net>
8 months ago
Abhijeet Kasurde
cb81801124
facts: Add a generic detection for VMware product name ( #83012 )
...
* Use startswith instead of hardcoded values in VMWare product
detction
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago