Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

application modules in ansible code example

Example: ansible package

- name: install ntpdate
  package:
    name: ntpdate
    state: present

# This uses a variable as this changes per distribution.
- name: remove the apache package
  package:
    name: "{{ apache }}"
    state: absent

- name: install the latest version of Apache and MariaDB
  package:
    name:
      - httpd
      - mariadb-server
    state: latest

Tags:

Misc Example

Related

django get all the foreign keys to an object code example buid abb react native code example only border left react native code example rails to_json include method code example navbar top code example how to make a custom dropzone file in html code example lasso regression method code example react on input typescript code example using a cursor in sql code example how ot get selected value of a tag in jquer code example pandas change value for column for specifgic rows code example vim how to switch between files code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy