Giter Club home page Giter Club logo

devops-practices's Introduction

devops-practices's People

Contributors

rirl avatar

Watchers

James Cloos avatar  avatar

devops-practices's Issues

CD-0002

Describe the bug
Need to install python-apt on vm-test-01 and vm-test-02 (debian)

Appears to be installed on atreides, hagal, fenring, ecaz (etc)

Extend the playbook setup to install using apt (or etc).

CD-0001: Sort out ansible remote permissions

Describe the bug
Using ansible user on test VM to execute ansible script encounter permission issue on remote hosts

To Reproduce
Steps to reproduce the behavior:

  1. Run Ansible playbook
    become: yes
    become_user: ansible

Expected behavior
Should not get permission issues as ansible is sudo enabled.

Additional context

The full traceback is:
WARNING: The below traceback may not be related to the actual failure.
File "/tmp/ansible_apt_payload_q8cRIu/main.py", line 1026, in main
cache.update()
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 442, in update
raise LockFailedException("Failed to lock %s" % lockfile)

[WARNING]: Could not find aptitude. Using apt-get instead.

fatal: [ansible-02]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"allow_unauthenticated": false,
"autoclean": false,
"autoremove": false,
"cache_valid_time": 0,
"deb": null,
"default_release": null,
"dpkg_options": "force-confdef,force-confold",
"force": false,
"force_apt_get": false,
"install_recommends": null,
"only_upgrade": false,
"package": null,
"purge": false,
"state": "present",
"update_cache": true,
"upgrade": "yes"
}
},
"msg": "Failed to lock apt for exclusive operation"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.