ansible

  1. B

    Ansible check file problem

    Hi! I'm running a simple ansible playbook which performs a task depending if a file exists or not. My playbook looks like this: tasks: - name: Check file stat: path: /opt/local/dir/foo/dir2/dir3/ register: file_data1 - name: Reports existing folder...
  2. B

    Ansible linuxclients -m ping (problem with target machine LinuxMint)

    I´ve installed everything by the book to start with Ansible, but when I´m trying to test ansible connection with command: ansible linuxclients -m ping The target machine LinuxMint machine is unreachable Labb Rocky 8.5 - Controller LinuxMint 20.3 - Target RedHat 8 -Target Host-file on Rocky...
  3. B

    What Linux distribution is best suited for Ansible AWX?

    I´ve got 3 options to work with as controller: -LinuxMint -Rocky -Redhat I like Ubuntu based distributions and if it possible I prefer go with LlinuxMint (Probably not best suited for Ansible AWX, but I wanna know for sure) Really appreciate your answer and experience
  4. B

    Ansible error "PORT STATE SERVICE 5986/tcp closed wsmans"

    It´s about Ansible setup and connection to target I´ve configure this om my client and used Ansible for window10 with wsl: [web] server01 [web:vars] ansible_user="[email protected]" ansible_password=somepassword ansible_connection=winrm ansible_winrm_transport=credssp...
  5. L

    Ubuntu 20.04.2 / ansible 2.9.6 --- Never make it to correct yaml file syntax

    I tried over 35 times to edit yaml file(s) but again getting an error in the syntax: Ubuntu 20.04.2 / ansible 2.9.6 book: Ubuntu-Linux-Bible 10e exercises page 632 / solutions page 696 - Chapter 28: Automating Apps and Infrastructure with Ansible leonidas@ubuntu:~/Documents/Ubuntu-Linux-Bible...
  6. S

    Connecting to servers without ssh keys for Ansible execution

    How do I Connect to servers without ssh keys for Ansible execution. Is there any alternative to ssh keys ? or Is there any other tool which takes care of provisioning tasks by default without keys.
  7. Rob

    #AnsibleFest London 2017 videos now available

    If you missed out on going to #AnsibleFest in London last month don't worry, you can catch up on some of the things you missed in the videos. The fine folks at Ansible have posted 19 videos, most being about 40 minutes long. Titles: Applyting Ansible at HSBC Efficiency and Effectiveness...
  8. Rob

    ansible - updating only installed packages?

    In ansible at work, I have some servers grouped by their project name. Sometimes this will group varying servers together like db servers, http servers, etc.. I know I can update rpm packages using ansible, but using the below playbook, i believe it'll install the package if its not already...
Top