want to comment cron job using ansible

0 votes
Hi Team,

I want to comment cron job using cron module in ansible, I tried with disbale= yes but not working.Help me if we have any other options.

Regards,

Manikar

9985841616
Aug 26, 2019 in Ansible by Manikar
894 views

1 answer to this question.

0 votes
      - name: disable cron ABC
        cron:
          name: ABC
          user: root
          state: absent
answered Jun 17, 2020 by Disha Khandelwal

Related Questions In Ansible

0 votes
1 answer

How to run a cron job using Ansible Playbook?

Hi@akhtar, You can use a module named Cron ...READ MORE

answered Sep 29, 2020 in Ansible by MD
• 95,180 points
2,211 views
0 votes
1 answer

How to remove cron using Ansible

Hey @Likhit, You could use something like ...READ MORE

answered Jan 28, 2019 in Ansible by Kavya
1,899 views
0 votes
1 answer

How to update a distribution comment by distribution id using Ansible Playbook?

Hi@akhtar, You can update your distribution with the ...READ MORE

answered Sep 30, 2020 in Ansible by MD
• 95,180 points
83 views
+1 vote
3 answers
0 votes
1 answer

unable to build grails war on a vagrant machine using ansible

Try and run the command using shell ...READ MORE

answered Jul 2, 2018 in Ansible by ajs3033
• 7,280 points
271 views
0 votes
1 answer

devops , how to create user using ansible playbook

root doesn't need a password to switch ...READ MORE

answered Jul 16, 2018 in Ansible by Kalgi
• 2,680 points
317 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,066 views
+2 votes
1 answer