Skip to content

Commit

Permalink
Stop using FQMN for ini_file
Browse files Browse the repository at this point in the history
Resolves this fail on CentOS 7:

34/44 Test #34: ansible-playbook-syntax-check-rhel7 ..............................***Failed    2.69 sec
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
ERROR! couldn't resolve module/action 'community.general.ini_file'. This often indicates a misspelling, missing collection, or incorrect module path.
  • Loading branch information
jan-cerny committed Apr 10, 2024
1 parent a5fc104 commit 2dc0247
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
when: sssd_conf_file.stat.exists

- name: {{{ rule_title }}} - Insert entry to /etc/sssd/sssd.conf
community.general.ini_file:
ini_file:
path: /etc/sssd/sssd.conf
section: sssd
option: services
Expand Down

0 comments on commit 2dc0247

Please sign in to comment.