Dg Lie algebra models for automorphisms of fiber bundles