Show incomplete on Ansible Lineinfile Module

Here is my code:

  • name: Install httpd and setup index.html
    hosts: stapp01, stapp02, stapp03
    become: yes
    tasks:
    • name: Install httpd
      package:
      name: httpd
      state: present
    • name: Start service httpd, if not started
      service:
      name: httpd
      state: started
    • name: Add content block in index.html. Create file if does not exist and and set file attributes
      copy:
      dest: /var/www/html/index.html
      content: This is Nautilus sample file, created using Ansible!
      mode: “0755”
      owner: apache
      group: apache
    • name: Update content in index.html
      lineinfile:
      path: /var/www/html/index.html
      insertbefore: BOF
      line: Welcome to Nautilus Group!

HI @johnkdevops
Can you please mark the task to review and paste the link here then we can review it accordingly

Regard

Hi @johnkdevops
The task seems like correctly done. Please try again and be sure that you don’t copy and paste some special characters or extra space on the content.

If the issue persists, please let us know

Regard

I did a comment on the review you can test again

Hi Mouhamadou,

Still showing under review, not letting me do the task again.

Any help would be greatly appreciated!!

Thank you,

John Kennedy

Hi @johnkdevops ,
You need to accept the review before