Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncomment LoadModule task doesn't work on RockyLinux #10

Open
gmauro opened this issue Mar 11, 2022 · 2 comments
Open

Uncomment LoadModule task doesn't work on RockyLinux #10

gmauro opened this issue Mar 11, 2022 · 2 comments

Comments

@gmauro
Copy link
Member

gmauro commented Mar 11, 2022

- name: Uncomment LoadModule directives for Galaxy

Seems that RockyLinux moved LoadModule directives to /etc/proftpd/modules.conf

I tried also to specify the new path into the proftpd_modules_config_file var but, Ansible ignore it :(

@bgruening
Copy link
Member

I tried also to specify the new path into the proftpd_modules_config_file var but, Ansible ignore it :(

Is the regex maybe not matching anymore?

@Q-coder
Copy link

Q-coder commented Sep 7, 2022

I don't think it's the regex. I event tried to alter it to '*' which must match anything. Even when running the playbook with -vvvv Ansible won't reveal the reason for
TASK [ansible-proftpd : Uncomment LoadModule directives for Galaxy] ********************************************************************
task path: /home/gery/ansible/playbooks/roles/ansible-proftpd/tasks/galaxy_auth.yml:17
skipping: [tace01.md80.ch] => (item=mod_exec.c) => {
"ansible_loop_var": "item",
"changed": false,
"item": "mod_exec.c",
"skip_reason": "Conditional result was False"
}

There's a number of these on skips on RHEL 7 and also on 8. But after trying for days and days I'm at the end of my latin. It's probably best to write a shell script and remote execute it and forget about Ansible altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants