I tried to install Ansible in RHEL 7.2 server. But it give the following error :
[root@ip-172-31-23-152 ansible]# make rpm
sed “s/%VERSION%/2.3.0/” docs/man/man1/ansible.1.asciidoc.in > docs/man/man1/ansible.1.asciidoc
ERROR: AsciiDoc ‘a2x’ command is not installed but is required to build docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1 docs/man/man1/ansible-galaxy.1 docs/man/man1/ansible-vault.1
make: *** [docs/man/man1/ansible.1] Error 1
rm docs/man/man1/ansible.1.asciidoc
Could you please send us docs or steps to resolve this error.