Coder Social home page Coder Social logo

ansible-samples's People

Contributors

rudd-o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

klepek openfnord

ansible-samples's Issues

domain1/domain2 typo ?

At bottom of README:

.. domain2.com: '{{ lookup("file", "secrets/dkim/domain1 ..

should that be 2 ?

The python scrypting for zfs on top should be updated to python3

It seems that the scripts are not running python3, which is the default on Fedora 30.
Neither they're compatible with it.
Having in mind that 01-01-2020 the Python2 support it's ended, I think it's worth the effort to update it.

Trace bellow:

 0m10.71  II  Building project: grub-zfs-fixer
Ejecutando(%prep): /bin/sh -e /var/tmp/rpm-tmp.P5MwvY
+ umask 022
+ cd /usr/src/grub-zfs-fixer/BUILD
+ cd /usr/src/grub-zfs-fixer/BUILD
+ rm -rf grub-zfs-fixer
+ /usr/bin/gzip -dc /usr/src/grub-zfs-fixer/grub-zfs-fixer.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd grub-zfs-fixer
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Ejecutando(%install): /bin/sh -e /var/tmp/rpm-tmp.U59Dbm
+ umask 022
+ cd /usr/src/grub-zfs-fixer/BUILD
+ '[' /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64 '!=' / ']'
+ rm -rf /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64
++ dirname /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64
+ mkdir -p /usr/src/grub-zfs-fixer/BUILDROOT
+ mkdir /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64
+ cd grub-zfs-fixer
+ /usr/bin/rm -rf /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64
+ mkdir -p /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64//usr/sbin
+ install fix-grub-mkconfig /usr/src/grub-zfs-fixer/BUILDROOT/grub-zfs-fixer-0.0.3-1.x86_64//usr/sbin
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** ERROR: ambiguous python shebang in /usr/sbin/fix-grub-mkconfig: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
error: Estado de salida erróneo de /var/tmp/rpm-tmp.U59Dbm (%install)


Errores de construcción RPM:
    Estado de salida erróneo de /var/tmp/rpm-tmp.U59Dbm (%install)
 0m10.82  II  Rewinding stack of actions.
 0m10.82  II  Rewind complete.
 0m10.82  EE  Unexpected error
Traceback (most recent call last):
  File "/usr/src/zfs-fedora-installer/src/installfedoraonzfs/__init__.py", line 1454, in deploy_zfs
    break_before=None,)
  File "/usr/src/zfs-fedora-installer/src/installfedoraonzfs/__init__.py", line 1345, in deploy_zfs_in_machine
    check_call(in_chroot(["rpmbuild", "--define", "_topdir %s"%(project_dir_in_chroot,), "-ta", j(project_dir_in_chroot,"%s.tar.gz" % project)]))
  File "/usr/src/zfs-fedora-installer/src/installfedoraonzfs/cmd.py", line 30, in check_call
    return subprocess.check_call(*args,**kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['rpmbuild', '--define', '_topdir /usr/src/grub-zfs-fixer', '-ta', '/usr/src/grub-zfs-fixer/grub-zfs-fixer.tar.gz']' returned non-zero exit status 1
Traceback (most recent call last):
  File "/usr/src/zfs-fedora-installer/deploy-zfs", line 10, in <module>
    sys.exit(installfedoraonzfs.deploy_zfs())
  File "/usr/src/zfs-fedora-installer/src/installfedoraonzfs/__init__.py", line 1454, in deploy_zfs
    break_before=None,)
  File "/usr/src/zfs-fedora-installer/src/installfedoraonzfs/__init__.py", line 1345, in deploy_zfs_in_machine
    check_call(in_chroot(["rpmbuild", "--define", "_topdir %s"%(project_dir_in_chroot,), "-ta", j(project_dir_in_chroot,"%s.tar.gz" % project)]))
  File "/usr/src/zfs-fedora-installer/src/installfedoraonzfs/cmd.py", line 30, in check_call
    return subprocess.check_call(*args,**kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rpmbuild', '--define', '_topdir /usr/src/grub-zfs-fixer', '-ta', '/usr/src/grub-zfs-fixer/grub-zfs-fixer.tar.gz']' returned non-zero exit status 1

ansible-samples/roles/selinux-module/ - doesn't work in Centos 7

failed: [192.168.XXX.XXX] (item=policycoreutils-python-utils) => {"ansible_loop_var": "item", "changed": false, "item": "policycoreutils-python-utils", "msg": "No package matching 'policycoreutils-python-utils' found available, installed or updated", "rc": 126, "results": ["No package matching 'policycoreutils-python-utils' found available, installed or updated"]}

I have fixed it by replacing policycoreutils-python-utils on policycoreutils-python.
I think you should do the same or add this info to read.me
Anyway, thank you for this role!

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.